import {isDemo} from "@/lib/helpers/utils"

export default function cURLCode(uri: string, appId: string): string {
    return `curl -X POST ${uri} \\
-H 'Content-Type: multipart/form-data' \\
-F 'file=@/path/to/your/file.csv' \\
-F 'testset_name=your_testset_name' \\
-F 'app_id=${appId}' \\
${!isDemo() ? "" : "-H 'Authorization: your_api_key'"}`
}
